package com.bdqn.jk.dao;

import com.bdqn.jk.entity.Carousel;
import com.bdqn.jk.util.PageQueryUtil;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CarouselMapper {
    int deleteById(Integer carouselId);
    int insert(Carousel record);
    int insertall(Carousel record);
    Carousel selectById(Integer carouselId);
    int updateAllById(Carousel record);
    int updateById(Carousel record);
    List<Carousel> findCarouselList(PageQueryUtil pageUtil);
    int getTotalCarousels(PageQueryUtil pageUtil);
    int deleteBatch(Integer[] ids);
    List<Carousel>findCarouselById(@Param("number")int number);
}
